package com.yidu.hbatsft.dao;

import com.yidu.hbatsft.domain.AtsEmpLeader;
import com.yidu.hbatsft.domain.AtsEmpLeaderVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AtsEmpLeaderMapper {

    int deleteByPrimaryKey(Integer leaderId);

    int insert(AtsEmpLeader record);

    int insertSelective(AtsEmpLeader record);

    AtsEmpLeader selectByPrimaryKey(Integer leaderId);

    int updateByPrimaryKeySelective(AtsEmpLeader record);

    int updateByPrimaryKey(AtsEmpLeader record);

    List<AtsEmpLeader> findAll(String leaderName);

    int findCout();

    int updateLeaderData(AtsEmpLeader ats);

    List<AtsEmpLeader> findAllx();

    int updateByIdState(Integer id,Integer isva);

    int deleteByIdstate(Integer id);

    AtsEmpLeaderVo findByid(Integer id);
}